package com.summer.filesync.model.manager;

import java.util.Map;

/** 文件活动统计 */
public class FileActivityStatistics {
  private int periodDays;
  private Map<String, Integer> dailyCreatedFiles;
  private Map<String, Integer> dailyModifiedFiles;
  private Map<String, Integer> dailyDeletedFiles;
  private long totalCreated;
  private long totalModified;
  private long totalDeleted;
  private double averageDailyActivity;

  public FileActivityStatistics(int periodDays) {
    this.periodDays = periodDays;
  }

  // Getters and Setters
  public int getPeriodDays() {
    return periodDays;
  }

  public void setPeriodDays(int periodDays) {
    this.periodDays = periodDays;
  }

  public Map<String, Integer> getDailyCreatedFiles() {
    return dailyCreatedFiles;
  }

  public void setDailyCreatedFiles(Map<String, Integer> dailyCreatedFiles) {
    this.dailyCreatedFiles = dailyCreatedFiles;
  }

  public Map<String, Integer> getDailyModifiedFiles() {
    return dailyModifiedFiles;
  }

  public void setDailyModifiedFiles(Map<String, Integer> dailyModifiedFiles) {
    this.dailyModifiedFiles = dailyModifiedFiles;
  }

  public Map<String, Integer> getDailyDeletedFiles() {
    return dailyDeletedFiles;
  }

  public void setDailyDeletedFiles(Map<String, Integer> dailyDeletedFiles) {
    this.dailyDeletedFiles = dailyDeletedFiles;
  }

  public long getTotalCreated() {
    return totalCreated;
  }

  public void setTotalCreated(long totalCreated) {
    this.totalCreated = totalCreated;
  }

  public long getTotalModified() {
    return totalModified;
  }

  public void setTotalModified(long totalModified) {
    this.totalModified = totalModified;
  }

  public long getTotalDeleted() {
    return totalDeleted;
  }

  public void setTotalDeleted(long totalDeleted) {
    this.totalDeleted = totalDeleted;
  }

  public double getAverageDailyActivity() {
    return averageDailyActivity;
  }

  public void setAverageDailyActivity(double averageDailyActivity) {
    this.averageDailyActivity = averageDailyActivity;
  }
}
